package min.chapter.three6;

public class LookupCommandFactoryImplement implements LookupCommandFactory {
	@Override
	public LookupCommand createCommand(String commandName) {
		if (commandName.equals("some")) {
			return new LookupSomeCommand();
		}
		return null;
	}
}